home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-05 / lpdsim.zip / LPDSIM.DOC < prev    next >
Text File  |  1991-11-28  |  3KB  |  78 lines

  1. Program     LPDSIM.NLM
  2. Purpose     Poor mans LPD for UNIX versions not providing LPD services.
  3. Written by    Bernd Kunze
  4. Date        28nov91
  5.  
  6. To keep the lawyers happy:
  7.  
  8. This software has been donated into public domain. There is no guarantee
  9. that this NLM will work properly and without problems though every effort
  10. has been taken to prevent problems. If problems arise I'd like to know
  11. about it so a new version can be built. Enhancement requests are welcome
  12. also.
  13.  
  14. LPDSIM has been tested with Interactive UNIX so far, experiences with
  15. other versions are welcome.
  16.  
  17. What it does:
  18.  
  19. Some UNIX versions do not provide LPD services so NetWare Queues can not
  20. be accessed through NFS. To avoid this situation *and* to give TCP/IP users
  21. the functionality of printing to a NetWare Print Queue I wrote that NLM.
  22. It looks for files in the directory SYS:LPDSIM and prints them out to the
  23. print queue which has been specified during NLM load.
  24.  
  25. How to install:
  26.  
  27. LOGIN to the server you wish to run LPDSIM on and go to the directory
  28. SYS:SYSTEM. Copy LPDSIM.NLM into SYS:SYSTEM.
  29.  
  30. Under the root of volume SYS: create a directory named LPDSIM. LPDSIM
  31. looks only in this directory and prints out every file.
  32.  
  33. On the server console type in
  34.  
  35.     LOAD LPDSIM <QUEUE>
  36.  
  37. where QUEUE is the name of the print queue you wish to print to. The print
  38. queue name is not case sensitive, LPDSIM does the conversion into upper
  39. case. If the print queue or the directory is not present LPDSIM will not
  40. work but give an error message instead.
  41.  
  42. After each loop through the directory LPDSIM will sleep about 10 seconds.
  43.  
  44. LPDSIM will report sometimes that it is not able to open the file to
  45. print. This happens when a file to print has been moved into the SYS:LPDSIM
  46. directory and is still in use by either NFS or NetWare. Don't worry, LPDSIM
  47. will retry to open the file. After approx. 3 or 4 retries printing will
  48. start.
  49.  
  50. What is missing:
  51.  
  52. LPDSIM does not:
  53.  
  54.     - Convert UNIX CR to DOS CR LF.
  55.     - Print banners.
  56.     - Check if the file contents is in printable format.
  57.     - Directly support NetWare 386 v3.0 and v3.1. It has been compiled
  58.       using the NLM API set for v3.11.
  59.     - Allow you to customize it (tab size, banner type etc.pp.).
  60.  
  61. If the need arises to implement functions mentioned above or functions
  62. you wish to see please send me a message to 75600,2565 on CompuServe.
  63.  
  64. How to use it from UNIX:
  65.  
  66. 1. NFS
  67.  
  68. Export the SYS:LPDSIM directory for use by UNIX clients and provide a
  69. shell script which is copying the file to print to that directory.
  70.  
  71. 2. LAN Workplace for DOS
  72.  
  73. USE FTP to transfer a file from UNIX to the SYS:LPDSIM directory.
  74.  
  75.  
  76.  
  77.  
  78.